import axios from 'axios'
// 邮轮公告
export function CruiseAnnouncement() {
  return new Promise((resolve, reject) => {
    axios
      .post('/ship-portal/web/noticeInfo/getNoticeInfoList')
      .then(res => resolve(res))
      .catch(err => reject(err))
  })
}
// 邮轮日报
export function CruiseDaily() {
  return new Promise((resolve, reject) => {
    axios
      .post('/ship-portal/web/daily/getDailyInfoList')
      .then(res => resolve(res))
      .catch(err => reject(err))
  })
}

// 邮轮设施
export function exploreInfoList() {
  return new Promise((resolve, reject) => {
    axios
      .post('/ship-portal/homePageFacility/getHomePageFacilityList')
      .then(res => resolve(res))
      .catch(err => reject(err))
  })
}
